'Declaration
Public Overloads Shared Sub Show( _ ByVal message As String, _ ByVal caption As String, _ ByVal icon As C1MessageBoxIcon, _ ByVal callback As Action(Of MessageBoxResult) _ )
'Usage
Dim message As String Dim caption As String Dim icon As C1MessageBoxIcon Dim callback As Action(Of MessageBoxResult) C1MessageBox.Show(message, caption, icon, callback)
public static void Show( string message, string caption, C1MessageBoxIcon icon, Action<MessageBoxResult> callback )
public: static void Show( String^ message, String^ caption, C1MessageBoxIcon icon, Action<MessageBoxResult>^ callback )
Parameters
- message
- The text to display as a message.
- caption
- The title bar caption.
- icon
- A C1MessageBoxIcon value that specifies the icon to display.
- callback
- An Action which is called with the result of the message box.